package com.itany.pojo;

import java.io.Serializable;
import java.util.Date;
import java.util.List;

/**
 * Author：汤小洋
 * Date：2019-09-18 下午2:18
 * Description：<描述>
 */
public class Book implements Serializable {


    private Integer id;
    private String bookName;
    private String author;
    private Double price;
    private Date publishDate;
    private Double groupPrice;
    private String format;
    private String pageNumber;
    private String ISBN;
    private String barcode;
    private Integer layout;
    private Integer printingNumber;
    private String register;
    private String weight;
    private String bookIntroduce;
    private String authorIntroduce;
    private String catalog;
    private Integer typeid;
    private BookType bookType;
    private Date createTime;
    private Integer pressid;
    private Press press;
    private Integer number;
    private String imgUrl;
    private Integer flag;
    private Integer recommend;


    private Integer supplierId;
    private List<Supplier> supplierList;

    @Override
    public String toString() {
        return "Book{" +
                "id=" + id +
                ", bookName='" + bookName + '\'' +
                ", author='" + author + '\'' +
                ", price=" + price +
                ", publishDate=" + publishDate +
                ", groupPrice=" + groupPrice +
                ", format='" + format + '\'' +
                ", pageNumber='" + pageNumber + '\'' +
                ", ISBN='" + ISBN + '\'' +
                ", barcode='" + barcode + '\'' +
                ", layout=" + layout +
                ", printingNumber=" + printingNumber +
                ", register='" + register + '\'' +
                ", weight='" + weight + '\'' +
                ", bookIntroduce='" + bookIntroduce + '\'' +
                ", authorIntroduce='" + authorIntroduce + '\'' +
                ", catalog='" + catalog + '\'' +
                ", typeid=" + typeid +
                ", bookType=" + bookType +
                ", createTime=" + createTime +
                ", pressid=" + pressid +
                ", press=" + press +
                ", number=" + number +
                ", imgUrl='" + imgUrl + '\'' +
                ", flag=" + flag +
                ", recommend=" + recommend +
                ", supplierId=" + supplierId +
                ", supplierList=" + supplierList +
                '}';
    }




    public Integer getSupplierId() {
        return supplierId;
    }

    public void setSupplierId(Integer supplierId) {
        this.supplierId = supplierId;
    }

    public List<Supplier> getSupplierList() {
        return supplierList;
    }

    public void setSupplierList(List<Supplier> supplierList) {
        this.supplierList = supplierList;
    }

    public Double getPrice() {
        return price;
    }

    public void setPrice(Double price) {
        this.price = price;
    }

    public Book() {
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getBookName() {
        return bookName;
    }

    public void setBookName(String bookName) {
        this.bookName = bookName;
    }

    public String getAuthor() {
        return author;
    }

    public void setAuthor(String author) {
        this.author = author;
    }

    public Date getPublishDate() {
        return publishDate;
    }

    public void setPublishDate(Date publishDate) {
        this.publishDate = publishDate;
    }

    public Double getGroupPrice() {
        return groupPrice;
    }

    public void setGroupPrice(Double groupPrice) {
        this.groupPrice = groupPrice;
    }

    public String getFormat() {
        return format;
    }

    public void setFormat(String format) {
        this.format = format;
    }

    public String getPageNumber() {
        return pageNumber;
    }

    public void setPageNumber(String pageNumber) {
        this.pageNumber = pageNumber;
    }

    public String getISBN() {
        return ISBN;
    }

    public void setISBN(String ISBN) {
        this.ISBN = ISBN;
    }

    public String getBarcode() {
        return barcode;
    }

    public void setBarcode(String barcode) {
        this.barcode = barcode;
    }

    public Integer getLayout() {
        return layout;
    }

    public void setLayout(Integer layout) {
        this.layout = layout;
    }

    public Integer getPrintingNumber() {
        return printingNumber;
    }

    public void setPrintingNumber(Integer printingNumber) {
        this.printingNumber = printingNumber;
    }

    public String getRegister() {
        return register;
    }

    public void setRegister(String register) {
        this.register = register;
    }

    public String getWeight() {
        return weight;
    }

    public void setWeight(String weight) {
        this.weight = weight;
    }

    public String getBookIntroduce() {
        return bookIntroduce;
    }

    public void setBookIntroduce(String bookIntroduce) {
        this.bookIntroduce = bookIntroduce;
    }

    public String getAuthorIntroduce() {
        return authorIntroduce;
    }

    public void setAuthorIntroduce(String authorIntroduce) {
        this.authorIntroduce = authorIntroduce;
    }

    public String getCatalog() {
        return catalog;
    }

    public void setCatalog(String catalog) {
        this.catalog = catalog;
    }

    public Integer getTypeid() {
        return typeid;
    }

    public void setTypeid(Integer typeid) {
        this.typeid = typeid;
    }

    public BookType getBookType() {
        return bookType;
    }

    public void setBookType(BookType bookType) {
        this.bookType = bookType;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public Integer getPressid() {
        return pressid;
    }

    public void setPressid(Integer pressid) {
        this.pressid = pressid;
    }

    public Press getPress() {
        return press;
    }

    public void setPress(Press press) {
        this.press = press;
    }

    public Integer getNumber() {
        return number;
    }

    public void setNumber(Integer number) {
        this.number = number;
    }

    public String getImgUrl() {
        return imgUrl;
    }

    public void setImgUrl(String imgUrl) {
        this.imgUrl = imgUrl;
    }

    public Integer getFlag() {
        return flag;
    }

    public void setFlag(Integer flag) {
        this.flag = flag;
    }

    public Integer getRecommend() {
        return recommend;
    }

    public void setRecommend(Integer recommend) {
        this.recommend = recommend;
    }
}